package com.six.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("salary")
@Data
public class Salary implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String bank;

    private Long account;

    @TableField("basicSalary")
    private Double basicSalary;

    @TableField("work_subsidy")
    private Double workSubsidy;

    @TableField("skill_subsidy")
    private Double skillSubsidy;

    @TableField("bonus_type")
    private String bonusType;

    @TableField("bonus_salary")
    private Double bonusSalary;

    @TableField("extra_type")
    private String extraType;

    @TableField("extra_salary")
    private Double extraSalary;

    @TableField("reduce_salary")
    private Double reduceSalary;

    private Double tax;

    @TableField("house_insure")
    private Double houseInsure;

    @TableField("business_insure")
    private Double businessInsure;

    @TableField("medical_insure")
    private Double medicalInsure;

    @TableField("life_insure")
    private Double lifeInsure;

    @TableField("lose_insure")
    private Double loseInsure;

    @TableField("birth_insure")
    private Double birthInsure;

    private Date time;

    @TableField("parent_id")
    private Long parentId;
}
